package com.usefullc.extinguisher.vo;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.extinguisher.domain.FireDeviceAuditRecord;
import com.usefullc.system.service.component.extend.ApiField;
import com.usefullc.system.service.component.extend.DictField;
import com.usefullc.system.service.component.extend.EnumField;
import com.usefullc.system.service.component.extend.UsefulField;
import com.usefullc.system.service.component.extend.ApiField;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 设备检查汇总返回实体
 * @author: 星空
 * @date: 2022-09-08
 */
@Data
public class FireDeviceAuditRecordVo extends BaseDomain {

//useful_auto_generate_section_start


    @ApiModelProperty(notes = "ID")
    private Long id;


    @ApiModelProperty(notes = "删除状态")
    private Boolean delState;


    @ApiModelProperty(notes = "设备")
    private Long deviceId;

    @ApiField(url = "/system/anonymous/jobTemplate/listAll", id = "id", value = "name")
    @ApiModelProperty(notes = "作业")
    private Long jobId;


    @ApiModelProperty(notes = "批次号")
    private Long batchNo;

    @EnumField(value = "deviceAuditRecordStatusEnum")
    @ApiModelProperty(notes = "状态")
    private Integer status;

    @UsefulField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(notes = "检查时间")
    private Date gmtAudit;

    @ApiField(url = "/user/anonymous/user/listAll", id = "id", value = "userName")
    @ApiModelProperty(notes = "检查人")
    private Long auditUserId;


    @ApiModelProperty(notes = "备注")
    private String memo;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "创建时间")
    private Date gmtCreate;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "修改时间")
    private Date gmtModified;


//useful_auto_generate_section_end

    @ApiModelProperty(notes = "编码")
    private String code;

    @ApiModelProperty(notes = "设备")
    private FireDeviceVo fireDeviceVo;
}
